Screen Flicker Fix

Thanks to patch-Adams and gimmeitorilltell for this!