Made UI Elements resizing a bit smoother