Fixed bug when specifying height in px