Fix magnification offset min and max calculation

- Magnification offset is in screen coordinate. It needs to take care
  about left and top of magnification bounds when calculating min and
  max.

Bug: 77152978
Test: None
Change-Id: I5ee7835c88eed080d9b22901977b0b5f76737703
1 file changed