fixed full screen image flashing. needs cleaning up but good for now.