Fix issue #280 - Close button doesn't appear in some windows

Thanks to @DocHoncho for the help.
See https://github.com/aseprite/aseprite/pull/6