Fix console resizing