Crash fix - Markers

Marker layers that made use of cached images would crash.