Fixed issues with Graphics failing to commit strokes / fills in certain situations.

Signed-off-by: Grant Skinner <info@gskinner.com>