Fixed issue of touch region moving when pushing the close button first.