Fix selection in double-resolution bitmaps