Fixed some dependencies with webGL/JSIL