Fixed a bug in events.lua.
Merge branch 'master' into graphical