[SDL Widget] Implement 'setClipping' and 'setBoundingBox' since the code is pretty repetitive.