Renamed eventedarray and added culling of sprites