Fixed regression in tab drawings on non Linux platforms