Refactored new image drawing method