This fixes an issue where the window glitched due to resize when the user doesn't actually change the window, but macOS function to update window size was still called.
run