Add a loop function ("onUpdate") in Editor, refreshed at 60fps for easier drawing on SFML widget