Fix for flash renderer