Thank you Craig,
Just want to inform you that I found out what caused the problem:
Yoast WordPress SEO plugin causes image sizing error – NaN in media library.
When deactivating the Yoast SEO plugin, scaling of images is possible again. No more NaN error in the dimension fields. After activating the plugin again, problem persists.
Contacted plugin developer Yoast and informed them about the problem.