Wrong appearance of window with title and borders: fixed