Render WebGL cube in a smaller size if on mobile