Fix screen resizing.