Fixed sign bugg in display offset