bugfix: fix a non-pixel ruler unit error