Do not consider canvas edges as part of layer when applying lighting