Query Stall Prevention

 Prevents an infinite while loop by putting a cap of 4MS on occlusion queries.