Add d-HasSelection command
Do not apply commands to selections when cursor is outside, selection may be off screen