Move launcher shadow drawing code into shadow module.