Fixed formatting of rotate-window