Added a selection nine patch to gallery entities.
Fixed various Painting component bugs.
Fixed a bug with the Stage viewport while resizing.