Added sort of fills by fillStyle. Shapes will be cached as bitmaps always.