Avoid exception if no image selected, use self.bounds instead of creating a new Rect