Fix output height in mobile mode