Bug fix: Player position matches bounds when at edge of container