Attempt to fix main scaling issue