I'd like to hijack this thread for another related point:
I occasionally find myself engaged in melee while not quite in the center of a square, for example in a door.
I can't attack back even with a ranged weapon, often needing to go back up to three squares to get a clear line of fire from somewhere else. Shooting enemies further away is just fine.
Btw, that's obviously still true with melee, but Banggunner said he could still shoot.
With the same weapon, to boot.