Calls renderFrameStop when activity is about to finish, the activity needs to run onFinish() when finish() happens