Suppor for fade modals and PNG image output on screen.capture()