fixed Mask and CachedBitmap with viewport, added maskcache example