bug with event in gl renderer