[Bug 840] Negative values used by Baldur's Gate in DirectDrawSurface_Lock