Fixed coordinates scaling, should work on all devices now.