Fixed invalid height crash