Fix firefox bug.

Fixed layer superposition after save dialog, respects the horizontal rotation animation.
Merge pull request #80 from thinkpunk/master

Fix firefox bug.