Force uniform update on first use

This is a patch that fixes an issue with uninitialized uniforms for me. The issue happens rarely, but it does happen. Please let me know if there's a better way to fix it and I will be happy to rework the CL.