Adding requiresSafeBounds flag to layer fitting prep