Fixes to gloo.texture related to updating texture data

This also fixes the animate-images demo