[BUGFIX] Use created rendering context for rendering stack

This fixes a bug introduced by f8d0d0b
Merge pull request #593 from hmspl/uncache

[BUGFIX] Use created rendering context for rendering stack