Fixed small bug that caused lighting to be slow