Fix for screen capture

Removed dpi handler