Fix error where starting minimized was not being honored.