Initial support for image webgl rendering based on copypasta from Rectangle