Detection only works if line of sight is clear

Player is only detected if nothing obstructs the line of sight