fix: crash when using multi-instruments and mapping an instrument with a range out of visible screen

Signed-off-by: Stephen L. <lrq3000@gmail.com>
update: R.java

Signed-off-by: Stephen L. <lrq3000@gmail.com>