In these cases `t->spacetype` is `SPACE_EMPTY`. Returning 0 is not problematic as this space does not support snapping anyway.
In these cases `t->spacetype` is `SPACE_EMPTY`. Returning 0 is not problematic as this space does not support snapping anyway.