Prevent ui resizing