Drawing a texture in a custom PropertyDrawer

Since 2017.3 you can override CanCacheInspectorGUI to fix this issue:

public override bool CanCacheInspectorGUI(SerializedProperty property)
{
    return false;
}

More details here.