Fixed a bug that the graphics will not be shown after back button was pressed.