LibGUI: Use BoxSampling to draw thumbnails