Screen resolution does not properly restore when closing full-screen applications

Log out and in again. That's the only solution I've found.