hostx_paint_rect's {Shm,}PutImage path was doing too much syncing with the host server, this cuts it down a bit.
hostx_paint_rect
{Shm,}PutImage