refactoring geoemtry rendering event.

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