draw selection rectangle