Revert "fix a bug that shown event isn't exactly called after shown."

This reverts commit 16f3a5f0285a2c30c7eca2a0c527746f089d8bc7.