[WebProfilerBundle] Fixed double height of canvas

The bug was introduced in #7065