Fix #1019 part 2 (width in percentage)