bugfix: set_normal_rect() while window is hidden