fix distoreted screen capture bug