Fixed unnecessary hovering on resume when the window is too small