second fix for image drawing