restrict Edit Box in bitmap rectangle