Fix for object height when direct web printing