split resizeTerminal into 2 functions

fixes #1 because fontLoader now directly calls the resize actions
without checking font size