Added opaque canvas support for better mobile rendering