fix thumbnail creation with sorl-thumbnail