Fixed bug in vispy.js.