Rectangle selection out of range