Set bgcolor for object if not wmode-transparent

Fixes #733