Added more frame behavior to fake maximized and minimized modes