I'm upgrading a JavaScript application from API version 2.7 to 3.9. I've worked through most of the changes but the basemap isn't loading correctly.
Only a few tiles load in a diagonal pattern. The map does work in a test page but not in the application, the only difference is the test page uses esri's hosted dojo and the application hosts its own.
On Loading:

After zooming:
