Checks if the mouse cursor is within any of the panel buttons and flag it if so.
Definition at line 920 of file control.cpp.