Fixed rotated bitmap drawing bug