fixes #5 & added parameter Engine& engine to System::sfmlEvent