Fixes the IP wrap around and makes the UI Clear method not clear too much and move the screen