bugfix in platformer demo