Correct the bound if it's from outside of screen am: a67e14a6e1

Change-Id: Ib43cbcc8215e7f5da7f417746ccab9bf65fb38c5