Fixes for newer OpenFL