I know this is old, but I was wrestling with this issue for months. This solved it, finally.

However I'm not sure what makes this line of code necessary, that is whether it was an internal OpenFL issue or if it was an issue with my code.