Fix some NoneType errors with images