Fix a bug where the calulator would crash on resize