Adding logging for is_offscreen