RenderMode.has seems to be deprecated with a recent HaxePunk update.