Fixed issue with calling transform_bbox on normal layer.