fixed inaccuracy of the inRange method in Light. also added it to the draw methods in light so that they wont draw if not needed