support to draw NSImages directly