attached sprites to objects
fixed sprite merge problems