tigher one-way platform collision logic (ran too fast on Windows)