Switched back to rint, but only use it for creating the Bitmap Contexts; make sure that width + height aren't 0 when bufferSize indicates the backing view isn't "empty".