Fix contentHeight and contentWidth