Adds pixel units to localisation

Attempt #2. Fix for #3713