Mesh command doesn't obey selected layer

this is currently as designed. In v9 wip, there is a “current layer” checkbox that fixes this issue.

give it a try here-