Fixed image resizing. Closes #15