Fix shadow bug (not always showing up) and remove some log messages