Fix layout margins in console window