Fixes bug with window never showing when starting with --minimized