Fixing blur event to only happen if the cursor is off the select