shouldn't this be put after 
   if (is_fullscreen_ == fullscreen)
     return;
?