ignore events properly in rect tool