android scaling fix for #117