1. generate mipmap on resume fix