Fixed error when disabled/readonly was being set