Automatically derive Functor instance of Rectangle