Image sizes not available for new entries

Fixes bug where you were unable to pick from image sizes for the specified upload directory when adding a new entry.