Block tool uses mouse position for picking ray
Block tool uses world origin plane when picking ray fails to hit something
Take editable mesh rotation into consideration when generating UV basis, this gives desirable results regardless of plane orientation the block is created on.