Removes unnecessary context switches and fixes cube side drawing.