Fixes for Flash renderer