merging from ariya/phantomjs
Force flash objects to use transparent mode