Fixed some window properties