Fix onShow event for screens.