Reset title of MDI frame only if frame window is maximized