Fixed frame viewer resize bug (sizer problem)