update: move render command handler out of render event handler.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>