Fixed an ATF bug: when skin applied in some cases close button required two clicks to close the app