Updated position mixin to ignore falsy values