Properly remove objects when field is not focused. Close #44.