bugfix: fix a ruler unit non-pixel error