Fixed crash and assigned transparent color to ghosts and some effects