Fixes for OpenFL 2.1 beta