Editor: Fixed non pickable objects when deleting object. Fixes #3731.