Make the fixed console height work on all platforms