Add maximize-frame to new frame hook, not window-setup.