rect based collision for player

more reliable than point based