Changed the way layer bounds are determined.