Made movement speed device-independent.