Setting windowstate to maximized by default