Revert "Make `Graphics` submit all calls instantly"

This reverts commit faaf4abf345e1752bcb2e2691101afb7a46d44cb.
Merge pull request #432 from csherratt/master

Fix state cache.