fixing collision events for pngs