Might need to finish the comment here: `if cursor was covered by the panel` or similar.