Added smooth movement for player (collision).