Fixed some web rendering issues, probably will be more to do.

Working on shaders and quads next.