Can now change screen size without the ui messing up.