fixed minor bug with shadow