Fixed the bug where the key was in sight through walls.