Fixed white windows on startup