Dev Mouse position helper

This makes it possible to find the relative mouse cursor that I need to
use for the ponter positioning.