- implement Lock function to prevent crash when the stubs are used
as ugly as before). - Handle properly (ie as on real Windows) negative values in rectangles during blitting.