fixed y collision check