Fix velocity rendering toggling while using WebGL

[#52294379]