Fixes to adjust resizing when zoomed in.