Fixing blur event