Fixed issue where library icons appear cut-off

This is to fix issue #37.