Adding more logging to debug is_offscreen