Recalculate mouse padding on resize