Fix rendering bug when axis is inverted.
Use ParamChecks.