libRocket: no point in injecting events if no context.

Fixes a segfault on attempting to start a game.