Fix uninitialized values on move constructor that lead to crashes.
Merged changes from dirbaio