Allowed the main_canvas to get focus by clicking on it.