normalize diagonal movement