draw as bitmap to improve performance