Cheap fix to drawbackground related crash