fixes firefox template flip transparency issue

https://www.pivotaltracker.com/story/show/76074092