Fix crash in fun mode when window set to minimum width.