[#274] [#477] Minor fixes

- Don't force double_buffering with transparent mode (not necessary)
- prepareSurface clears with the opaque option (fixes #274)