MainFrm: Only maximize D3DFullscreen if the window is actually minimized.
Always maximizing will only cause more issues where D3DFullscreen will minimize.