Fix shadow offset method