merge the if statement in the rtgui_dc_draw_focus_rect() function