added support for wmode property