update: add getScale options to solve problem with mobile devices and viewport scale