Updated rotate to honor the specified anchor point.