[scg] fixed bugs with lighted elements, drag and drop and display (#185)