changed event filter to not set as SDL event filter, but call it manually