Adding custom method for square crop rect