sensible clipping values for viewport by default
properly pass string to native android logging function